using Quickly.SpaProxy;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddCors();

var app = builder.Build();

app.UseCors();

app.MapGet("/api", () => "Hello World!");

app.UseSpaProxyDevelopmentReverseProxy();

app.Run();